<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Shop.Master" Inherits="Shop.Framework.Page.ProductDetailPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <shopControls:headBuilder runat="server" />
    <link href="/content/productDetailCss.css" type="text/css" rel="Stylesheet" />

    <script src="/Scripts/productDetailScript.js" type="text/javascript" language="javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="productDetail_wrapper">
        <div class="image_area_wrapper left">
            <%Html.RenderPartial("~/Controls/thumbnailViewer.ascx", Model); %>
        </div>
        <div class="main_detail left">
            <br />
            <br />
            <br />
            <form action="/cart/add" method="post">
            <h4>
                <%=Model.Name %></h4>
            <div class="clear">
            </div>
            <div class="left">
                <b>Product Description</b></div>
            <div class="clear">
            </div>
            <hr />
            <p style="text-align: justify">
                <%=Model.Description %>
            </p>
            <div class="clear">
            </div>
            
            <input type="hidden" value="<%=Model.IdProduct %>" name="idProduct" />
            <div style="padding: 5px 2px 2px 2px">
                Price: <%=Model.TaxedPrice.ToString("C") %>&nbsp;&nbsp;<input type="submit" value="Add to cart" /></div>
            <div class="clear">
                <a onclick="history.go(-1)" class="nav_link">Back to previous</a>
            </div>
            </form>
        </div>
    </div>
</asp:Content>
